package com.my.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 房间销售统计
 * </p>
 *
 * @author 崔倩倩
 * @since 2018-09-03
 */
@TableName("room_sales")
public class RoomSales extends Model<RoomSales> {

    private static final long serialVersionUID = 1L;

	@TableField("areaid")
	private Long areaid;
	public Long getAreaid() { return areaid; }
	public void setAreaid(Long areaid) {
		this.areaid = areaid;
	}
	private Long id;
    /**
     * 房间id
     */
	@TableField("relation_id")
	private Long relationId;
    /**
     * 套餐项
     */
	@TableField("set_meal")
	private String setMeal;
    /**
     * 创建时间
     */
	@TableField("creat_time")
	private Long creatTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getRelationId() {
		return relationId;
	}

	public void setRelationId(Long relationId) {
		this.relationId = relationId;
	}

	public String getSetMeal() {
		return setMeal;
	}

	public void setSetMeal(String setMeal) {
		this.setMeal = setMeal;
	}

	public Long getCreatTime() {
		return creatTime;
	}

	public void setCreatTime(Long creatTime) {
		this.creatTime = creatTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "RoomSales{" +
			"id=" + id +
			", relationId=" + relationId +
			", setMeal=" + setMeal +
			", creatTime=" + creatTime +
			"}";
	}
}
